package com.currency.mall.ui.main.optional;

import com.currency.mall.entity.SecurityBean;
import com.currency.mall.entity.SharesBean;
import com.mifengs.commonbase.base.BasePresenter;
import com.mifengs.commonbase.base.BaseView;

import java.util.List;

/**
 * Created by Administrator on 2018/12/22.
 */

public interface OptionalContract {
    interface View extends BaseView {
        void setSharesData(List<SharesBean.SharesInfo> sharesInfos, boolean isLoadOver);
        void finishRefresh();
        void refresh();
        void collectSharesId( String str[]);
        void toLogin();
    }
    interface Presenter extends BasePresenter {
        void collectSharesInfo(String sharesId);
        void cancelCollectShares(String sharesId);
        void getCollectShares();
        void getCollectSharesId(boolean isPolling);

    }

}
